package com.dragon.speech.common;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by jinlong.hao on 16/5/19.
 */
public class Constants {

    /**
     * 系统配置, 从sys_config表中读取
     */
    public static Map<String, String> SYS_CONFIGS = new HashMap<String, String>();


    /**
     * 短信校验码超时时间(秒)
     */
    public static final int MOBILE_VCODE_TIMEOUT = 300;

    public static final int HTTP_RESPONSE_CODE_SUCCESS = 0;
    /**
     * 非法请求
     */
    public static final int HTTP_RESPONSE_CODE_UNLAWFUL_REQUEST = 110;

    public static final int HTTP_RESPONSE_CODE_NOLOGIN = 1001;
    public static final int HTTP_RESPONSE_CODE_USER_NOT_EXIST = 1002;
    public static final int HTTP_RESPONSE_CODE_USER_PWD_ERROR = 1003;
    public static final int HTTP_RESPONSE_CODE_MOBILE_VCODE_ERROR = 1004;
    public static final int HTTP_RESPONSE_CODE_USER_PHONE_EXIST = 1005;
    public static final int HTTP_RESPONSE_CODE_GOOGLE_SPEECH_ERROR = 2001;



}
